/************************************************************************************
 *  Copyright 2013 WZITech Corporation. All rights reserved.
 *	
 *	模	块：		AuthenticationInterceptor
 *	包	名：		com.wzitech.gamegold.web.frontend.interceptor
 *	项目名称：	gamegold-web-frontend
 *	作	者：		SunChengfei
 *	创建时间：	2014-1-13
 *	描	述：		
 *	更新纪录：	1. SunChengfei 创建于 2014-1-13 下午5:59:36
 * 				
 ************************************************************************************/
package com.kb5173.search.web.interceptor;

import org.apache.cxf.interceptor.Fault;
import org.apache.cxf.message.Message;
import org.apache.cxf.phase.AbstractPhaseInterceptor;
import org.apache.cxf.phase.Phase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 * @author SunChengfei
 *
 */
public class SearchInterceptor extends AbstractPhaseInterceptor<Message> {
	/**
	 * 日志输出
	 */
	private static final Logger logger = LoggerFactory.getLogger(SearchInterceptor.class);

	/**
	 * 对于列表中Url不做authkey检查
	 */
	private List<String> ignoreUrlsList;


	public SearchInterceptor() {
		super(Phase.RECEIVE);
	}

	/*
	 * (non-Javadoc)
	 * @see org.apache.cxf.interceptor.Interceptor#handleMessage(org.apache.cxf.message.Message)
	 */
	@Override
	public void handleMessage(Message message) throws Fault {

	}

    public List<String> getIgnoreUrlsList() {
        return ignoreUrlsList;
    }

    public void setIgnoreUrlsList(List<String> ignoreUrlsList) {
        this.ignoreUrlsList = ignoreUrlsList;
    }
}
